package tripleo.framework.io;

/**
 * Date: Oct 13, 2005
 * Time: 4:54:38 AM
 * <p/>
 * $Id: ReadableByteStream.java,v 1.2 2005/10/13 19:39:20 olu Exp $
 */
public interface ReadableByteStream {
	long available();
	byte read();
	void readInto(long len, WritableByteStream wbs);
	
	/**
	 * @scope java
	 * @return Answer an array suitable for interaction with the host language 
	 */
	byte[] array();
}
